package com.example.basicdemo.model.domain;

import com.alibaba.fastjson.JSONObject;
import com.isyscore.os.dev.api.IsyscoreObject;

import java.util.Date;

public class AclDomain implements IsyscoreObject {

    /**
     * 权限id
     */
    private Long id;

    /**
     *功能权限编码
     */
    private String code;

    /**
     *权限名称
     */
    private String name;

    /**
     *权限模块id
     */
    private Integer aclModuleId;

    /**
     *单击链接地址
     */
    private String url;

    /**
     *功能类型
     */
    private Integer type;

    /**
     *状态
     */
    private Integer status;

    /**
     *
     */
    private Integer seq;

    /**
     *备注
     */
    private String remark;

    /**
     *
     */
    private String operator;

    /**
     *
     */
    private Date gmtCreate;

    /**
     *
     */
    private Date gmtModified;

    /**
     *
     */
    private String operateIp;

    /**
     *是否有权限操作
     */
    private Boolean hasAcl;

    /**
     * 是否要默认选中
     */
    private Boolean checked;

    public Long getId() {
        return id;
    }

    public AclDomain setId(Long id) {
        this.id = id;
        return this;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAclModuleId() {
        return aclModuleId;
    }

    public void setAclModuleId(Integer aclModuleId) {
        this.aclModuleId = aclModuleId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getOperateIp() {
        return operateIp;
    }

    public void setOperateIp(String operateIp) {
        this.operateIp = operateIp;
    }

    public Boolean getHasAcl() {
        return hasAcl;
    }

    public void setHasAcl(Boolean hasAcl) {
        this.hasAcl = hasAcl;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
